home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / FileTransferTools.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  2.5 KB  |  98 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  18. __FILETRANSFERTOOLS__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  22.     include 'Dialogs.a'
  23.     ENDIF
  24. ;        include 'Errors.a'                                            ;
  25. ;            include 'ConditionalMacros.a'                            ;
  26. ;        include 'Memory.a'                                            ;
  27. ;            include 'Types.a'                                        ;
  28. ;            include 'MixedMode.a'                                    ;
  29. ;        include 'Windows.a'                                        ;
  30. ;            include 'Quickdraw.a'                                    ;
  31. ;                include 'QuickdrawText.a'                            ;
  32. ;            include 'Events.a'                                        ;
  33. ;                include 'OSUtils.a'                                ;
  34. ;            include 'Controls.a'                                    ;
  35. ;                include 'Menus.a'                                    ;
  36. ;        include 'TextEdit.a'                                        ;
  37.  
  38.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  39.     include 'FileTransfers.a'
  40.     ENDIF
  41. ;        include 'CTBUtilities.a'                                    ;
  42. ;            include 'StandardFile.a'                                ;
  43. ;                include 'Files.a'                                    ;
  44. ;            include 'AppleTalk.a'                                    ;
  45. ;        include 'Connections.a'                                    ;
  46. ;        include 'Terminals.a'                                        ;
  47.  
  48. ; DEFs 
  49. fdefType                        EQU        'fdef'
  50. fsetType                        EQU        'fset'
  51. fvalType                        EQU        'fval'
  52. flocType                        EQU        'floc'
  53. fscrType                        EQU        'fscr'
  54. fbndType                        EQU        'fbnd'
  55. fverType                        EQU        'vers'
  56.  
  57. ; control 
  58. ftInitMsg                        EQU        0
  59. ftDisposeMsg                    EQU        1
  60. ftSuspendMsg                    EQU        2
  61. ftResumeMsg                        EQU        3
  62. ftMenuMsg                        EQU        4
  63. ftEventMsg                        EQU        5
  64. ftActivateMsg                    EQU        6
  65. ftDeactivateMsg                    EQU        7
  66. ftGetErrorStringMsg                EQU        8
  67. ftAbortMsg                        EQU        52
  68. ftStartMsg                        EQU        100
  69. ftExecMsg                        EQU        102
  70. ftSendMsg                        EQU        103
  71. ftReceiveMsg                    EQU        104
  72. ; setup 
  73. ftSpreflightMsg                    EQU        0
  74. ftSsetupMsg                        EQU        1
  75. ftSitemMsg                        EQU        2
  76. ftSfilterMsg                    EQU        3
  77. ftScleanupMsg                    EQU        4
  78. ; validate 
  79. ftValidateMsg                    EQU        0
  80.  
  81. ftDefaultMsg                    EQU        1
  82. ; scripting 
  83. ftMgetMsg                        EQU        0
  84. ftMsetMsg                        EQU        1
  85. ; localization 
  86. ftL2English                        EQU        0
  87. ftL2Intl                        EQU        1
  88.  
  89. FTSetupStruct             RECORD    0
  90. theDialog                 ds.l    1                                    ; the dialog form the application 
  91. count                     ds.w    1                                    ; first appended item 
  92. theConfig                 ds.l    1                                    ; the config record to setup 
  93. procID                     ds.w    1                                    ; procID of the tool 
  94. sizeof                     EQU    12
  95.                         ENDR
  96.  
  97.     ENDIF ; __FILETRANSFERTOOLS__
  98.